# -*- encoding: utf-8 -*-
'''
@File    :   do_pickle_to_file.py
@Time    :   2022/11/11 18:03:03
@Author  :   Cms 
@Version :   1.0
@Contact :   2267000140@qq.com
@WebSite    :   www.baidu.com
'''

# here put the import lib
import json
import pickle
list1 = []
for i in range(3):
    res = {i:[j] for i in range(3) for j in 'abc'}
    list1.append(res)
with open(r"2.5.txt",'w') as file:
    # file.write(str(list1))
    list_str = json.dumps(list1)
    file.write(list_str)
